Command Line Parameters
Malwarebytes' Anti-Malware supports a few simple, but important, command line parameters. To start the program
using command line, simply click the Start Menu, Run, and type the following:
mbam.exe /parameter
(where parameter is one or more of the following)
- /debug: allows you to collect information to send as a bug report. Prompt to save appears.
- /debugsave: allows you to collect information to send as a bug report. Automatically saves to <root-drive>\mbam-info.txt.
- /developer: this command line parameter is explained in the false positives section.
- /minimized: allows you to start the program minimized.
- /quickscan: allows you to run a quick scan.
- /quickscanterminate: allows you to run a quick scan. Program terminates if no items found.
- /fullscan: allows you to run a full scan.
- /fullscanterminate: allows you to run a full scan. Program terminates if no items found.
- /runupdate: allows you to update the program without displaying result dialogs.
- /register: allows you to register the program without displaying main dialog.
Example: mbam.exe /register 12345 AAAA-BBBB-CCCC-DDDD
- /updateshowdialog: allows you to update the program displaying all dialogs.
- /schedule <hour>: allows you to schedule an update and scan for a specific hour. Scan will happen 5 minutes after update.
Example: mbam.exe /schedule 0 (will schedule for 12:00 AM local time)
Example: mbam.exe /schedule 5 (will schedule for 5:00 AM local time)
Example: mbam.exe /schedule 23 (will schedule for 11:00 PM local time)
- /proxy <server>:<port>: allows you to update through a HTTP or HTTPS proxy. Any future updates will use the specified proxy server and port. Leave blank to remove proxy usage. No authentication support yet.
Example: mbam.exe /proxy (will disable any proxy use)
Example: mbam.exe /proxy http://www.proxy.com:80 (will use www.proxy.com on port 80)
- /logtofolder <path>: allows you to save all log files to the specified folder. If this folder does not exist, Malwarebytes' Anti-Malware attempts to create it. If path is blank, changes are reverted to default settings. These logs do not show up on the Logs tab.
Example: mbam.exe /logtofolder C:\Logs (will save all log files to C:\Logs)
- /logtofile <path>: allows you to save all log files to the specified file. If this file does not exist, Malwarebytes' Anti-Malware attempts to create it. Newest entries are appended to top of file. If path is blank, changes are reverted to default settings. This log does not show up on the Logs tab.
Example: mbam.exe /logtofile C:\mbam-log.txt (will save all log files to C:\mbam-log.txt)
Note: Corporate users please contact corporate@malwarebytes.org for additional command line parameters.